package cn.labbook.bluetooth.shiro;


import cn.labbook.bluetooth.entity.Admin;
import lombok.Data;

import java.io.Serializable;


/**
 * <p>
 * session中存储的用户信息
 * </p>
 *
 * @author Administrator
 * @since 2018-10-30
 */
@Data
public class TokenUser implements Serializable {
    private Admin admin;

    public String getAdminName(){
        return this.admin.getAdminName();
    }

    public String getAdminId() {
        return this.admin.getAdminId();
    }

}
